from django.urls import path
from .views import *
from rest_framework.routers import DefaultRouter
from .views import *


router = DefaultRouter()
router.register("staff", StaffViewSet)

urlpatterns = [
    path("department/", DepartmentAPIView.as_view()),
    path("department/<int:pk>/", DepartmentInfoAPIView.as_view()),
]

urlpatterns += router.urls